package com.infusionesuci.utils;

import com.infusionesuci2.Medicamento;

/**
*
* @author 
* ###### #####  ###### ###### ###### ##   ##  ##### ######  ###   ##    ##
*   ##   ##   # ##     ##     ##     ##   ## #        ##   ##  ## ####  ##
*   ##   #####  #####  #####  #####  ##   ##  ####    ##   ##  ## ## ## ##
*   ##   ##  #  ##     ##     ##     ##   ##      #   ##   ##  ## ##  ####
*   ##   ##   # ###### ###### ##      ####   #####  ######   ##   ##   ###
*/

public class GlobalConfiguration {

	private Medicamento selectedMedicamento;
	private static GlobalConfiguration singletonObject;

	/**
	 * 
	 * @return Object GlobalConiguration 
	 */
	public static synchronized GlobalConfiguration getSingletonObject() {
		if (singletonObject == null) {
			singletonObject = new GlobalConfiguration();
		}
		return singletonObject;
	}

	public Medicamento getSelectedMedicamento() {
		return selectedMedicamento;
	}

	public void setSelectedMedicamento(Medicamento selectedMedicamento) {
		this.selectedMedicamento = selectedMedicamento;
	}

	
}
